[INFO] fetching crate codex-client-sdk 0.107.0...
[INFO] testing codex-client-sdk-0.107.0 against master#cced03bfd61a304243a34504618ecec86c17063f for pr-154065-2
[INFO] extracting crate codex-client-sdk 0.107.0 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate codex-client-sdk 0.107.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate codex-client-sdk 0.107.0
[INFO] tweaked toml for crates.io crate codex-client-sdk 0.107.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate codex-client-sdk 0.107.0 on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate codex-client-sdk 0.107.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0f6e9ba0bcf17297e6ef29f0226b55b6389b9bd80380fdb0dbf966fa7506c898
[INFO] running `Command { std: "docker" "start" "0f6e9ba0bcf17297e6ef29f0226b55b6389b9bd80380fdb0dbf966fa7506c898", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0f6e9ba0bcf17297e6ef29f0226b55b6389b9bd80380fdb0dbf966fa7506c898" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0f6e9ba0bcf17297e6ef29f0226b55b6389b9bd80380fdb0dbf966fa7506c898", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0f6e9ba0bcf17297e6ef29f0226b55b6389b9bd80380fdb0dbf966fa7506c898" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling tempfile v3.26.0
[INFO] [stderr]    Compiling which v8.0.0
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling codex-client-sdk v0.107.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.75s
[INFO] running `Command { std: "docker" "inspect" "0f6e9ba0bcf17297e6ef29f0226b55b6389b9bd80380fdb0dbf966fa7506c898", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0f6e9ba0bcf17297e6ef29f0226b55b6389b9bd80380fdb0dbf966fa7506c898" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling codex-client-sdk v0.107.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.97s
[INFO] running `Command { std: "docker" "inspect" "0f6e9ba0bcf17297e6ef29f0226b55b6389b9bd80380fdb0dbf966fa7506c898", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0f6e9ba0bcf17297e6ef29f0226b55b6389b9bd80380fdb0dbf966fa7506c898" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/codex-784ad177e9d931f6)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test exec::tests::finds_codex_in_common_global_location ... ok
[INFO] [stdout] test exec::tests::finds_codex_in_local_node_modules_bin ... ok
[INFO] [stdout] test exec::tests::finds_codex_in_platform_vendor_package ... ok
[INFO] [stderr]      Running tests/abort_tests.rs (/opt/rustwide/target/debug/deps/abort_tests-0753374c3924d31d)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test aborts_run_streamed_when_token_is_already_cancelled ... ok
[INFO] [stdout] test aborts_run_when_token_is_already_cancelled ... ok
[INFO] [stdout] test aborts_run_when_token_is_cancelled_during_execution ... ok
[INFO] [stdout] test completes_normally_when_token_is_not_cancelled ... ok
[INFO] [stdout] test aborts_run_streamed_when_token_is_cancelled_during_iteration ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/exec_tests.rs (/opt/rustwide/target/debug/deps/exec_tests-2d6323df17dfcb68)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test rejects_when_process_exits_non_zero ... ok
[INFO] [stdout] test places_resume_args_before_image_args ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/run_streamed_tests.rs (/opt/rustwide/target/debug/deps/run_streamed_tests-8dc8d9e6605a540f)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test returns_thread_events ... ok
[INFO] [stdout] test applies_output_schema_turn_options_when_streaming ... ok
[INFO] [stdout] test sends_resume_when_run_streamed_is_called_twice ... ok
[INFO] [stderr]      Running tests/run_tests.rs (/opt/rustwide/target/debug/deps/run_tests-8597f39bdfcb1b08)
[INFO] [stdout] test resumes_thread_by_id_when_streaming ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 27 tests
[INFO] [stdout] test errors_on_null_config_override_values ... ok
[INFO] [stdout] test rejects_non_object_output_schema ... ok
[INFO] [stdout] test passes_approval_policy_to_exec ... ok
[INFO] [stdout] test passes_turn_options_to_exec ... ok
[INFO] [stdout] test passes_web_search_enabled_to_exec ... ok
[INFO] [stdout] test prefers_web_search_mode_over_web_search_enabled_when_both_are_set ... ok
[INFO] [stdout] test passes_network_access_enabled_to_exec ... ok
[INFO] [stdout] test returns_agent_message_items_in_run_result ... ok
[INFO] [stdout] test forwards_images_to_exec ... ok
[INFO] [stdout] test passes_model_reasoning_effort_to_exec ... ok
[INFO] [stdout] test throws_thread_run_error_on_stream_error_event ... ok
[INFO] [stdout] test passes_web_search_disabled_to_exec ... ok
[INFO] [stdout] test serializes_non_bare_inline_table_keys_with_quotes ... ok
[INFO] [stdout] test resumes_thread_by_id ... ok
[INFO] [stdout] test runs_in_provided_working_directory ... ok
[INFO] [stdout] test passes_web_search_mode_to_exec ... ok
[INFO] [stdout] test sets_the_codex_sdk_originator_env ... ok
[INFO] [stdout] test thread_options_override_global_config ... ok
[INFO] [stdout] test allows_overriding_env_passed_to_codex_cli ... ok
[INFO] [stdout] test passes_codex_config_overrides_as_toml_flags ... ok
[INFO] [stdout] test passes_additional_directories_as_repeated_flags ... ok
[INFO] [stdout] test returns_thread_events ... ok
[INFO] [stdout] test throws_thread_run_error_on_turn_failures ... ok
[INFO] [stdout] test combines_structured_text_input_segments ... ok
[INFO] [stdout] test throws_when_working_directory_not_git_and_skip_not_set ... ok
[INFO] [stdout] test writes_output_schema_temp_file_and_cleans_up ... ok
[INFO] [stdout] test sends_resume_when_run_is_called_twice ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.76s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests codex
[INFO] [stdout] 
[INFO] [stdout] running 14 tests
[INFO] [stdout] test src/codex.rs - codex::Codex::new (line 22) - compile ... ok
[INFO] [stdout] test src/codex.rs - codex::Codex::resume_thread (line 62) - compile ... ok
[INFO] [stdout] test src/exec.rs - exec::CodexExec::new (line 75) - compile ... ok
[INFO] [stdout] test src/exec.rs - exec::CodexExec::run (line 107) - compile ... ok
[INFO] [stdout] test src/codex.rs - codex::Codex::start_thread (line 42) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 14) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 46) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 31) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 66) - compile ... ok
[INFO] [stdout] test src/thread.rs - thread::Thread::run (line 210) - compile ... ok
[INFO] [stdout] test src/thread.rs - thread::Thread::id (line 110) - compile ... ok
[INFO] [stdout] test src/thread.rs - thread::Thread::run_streamed (line 126) - compile ... ok
[INFO] [stdout] test src/output_schema_file.rs - output_schema_file::OutputSchemaFile::path (line 22) ... ok
[INFO] [stdout] test src/output_schema_file.rs - output_schema_file::create_output_schema_file (line 42) ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 1.16s; merged doctests compilation took 1.14s
[INFO] running `Command { std: "docker" "inspect" "0f6e9ba0bcf17297e6ef29f0226b55b6389b9bd80380fdb0dbf966fa7506c898", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f6e9ba0bcf17297e6ef29f0226b55b6389b9bd80380fdb0dbf966fa7506c898", kill_on_drop: false }`
[INFO] [stdout] 0f6e9ba0bcf17297e6ef29f0226b55b6389b9bd80380fdb0dbf966fa7506c898
